package com.lagou.java;

import lombok.Data;
import org.springframework.util.StringUtils;
import sun.swing.StringUIClientPropertyKey;

@Data
public class ConfigInfo {

    private String url;
    private String username;
    private String passwd;

    public void setDbName (String dbName) {
        this.url = "jdbc:mysql:///" + dbName + "?serverTimezone=UTC&useSSL=false&characterEncoding=utf8";
    }

}
